package com.dj.web.password.controller;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

/**
 * 注册表单
 * 
 * @author jaen.hsu.cn@gmail.com 2012-4-19 下午1:23:24
 */
public class PasswordForm {

    @NotNull
    private String oldPassword;

    @NotNull
    @Size(min = 5, max = 25)
    private String password;

    public String getOldPassword() {
        return oldPassword;
    }

    public void setOldPassword(String oldPassword) {
        this.oldPassword = oldPassword;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

}
